package com.dao;

import com.pojo.DutyRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DutyRecordDao {

    List<DutyRecord> selectAll(@Param("param") String param);

    Integer addRecord(@Param("duty") DutyRecord dutyRecord,@Param("buildId") Integer buildId);

    Integer deleteByUsername(@Param("username") String username);

}
